Skip to content

AMPR-143 #442 Add PricingService to Ampere SDK#449

Merged
wow-miley merged 1 commit intomainfrom
email/ampr-143-ampere-pricingservice-bundled-model-rate-table-with-consumer
Mar 2, 2026
Merged

AMPR-143 #442 Add PricingService to Ampere SDK#449
wow-miley merged 1 commit intomainfrom
email/ampr-143-ampere-pricingservice-bundled-model-rate-table-with-consumer

Conversation

@wow-miley
Copy link
Contributor

I wrote this PR to add a public PricingService to the Ampere SDK with serializable pricing models, version metadata, and token cost estimation. It wires pricing into AmpereInstance for JVM and stub instances, loads bundled pricing data with publishedAt metadata, and supports consumer overrides through the AmpereConfig pricing DSL. It also adds common and JVM tests covering serialization, overrides, service behavior, and SDK wiring. Closes #442

I wrote this commit to expose bundled pricing through the public SDK, add consumer pricing overrides, and cover the new API with tests.
@wow-miley wow-miley merged commit a7a2c7e into main Mar 2, 2026
2 checks passed
@wow-miley wow-miley deleted the email/ampr-143-ampere-pricingservice-bundled-model-rate-table-with-consumer branch March 2, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ampere] PricingService — bundled model rate table with consumer override support

1 participant